]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Background: don't check draw-background key
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 22 Feb 2013 16:41:11 +0000 (17:41 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 22 Feb 2013 16:49:16 +0000 (17:49 +0100)
The key was removed from gsettings-desktop-schemas, GNOME should
always draw a background: the key existed to support xsetroot, but
we no longer read the _XROOTPMAP_ID.

https://bugzilla.gnome.org/show_bug.cgi?id=694463

js/ui/background.js

index c1c061691b6cba63f71af1ac5a09cdef12ac9167..ef4dad3e35bd1e00c848d70a6063e2ee5f619f03 100644 (file)
@@ -14,7 +14,6 @@ const Params = imports.misc.params;
 const Tweener = imports.ui.tweener;
 
 const BACKGROUND_SCHEMA = 'org.gnome.desktop.background';
-const DRAW_BACKGROUND_KEY = 'draw-background';
 const PRIMARY_COLOR_KEY = 'primary-color';
 const SECONDARY_COLOR_KEY = 'secondary-color';
 const COLOR_SHADING_TYPE_KEY = 'color-shading-type';
@@ -490,11 +489,6 @@ const Background = new Lang.Class({
     },
 
     _load: function () {
-        if (!this._settings.get_boolean(DRAW_BACKGROUND_KEY)) {
-            this._setLoaded();
-            return;
-        }
-
         this._cache = getBackgroundCache();
 
         this._loadPattern(this._cache);